package com.youyi.yypermissionlibrary.core.os;

import android.content.Context;
import android.content.Intent;
import android.net.Uri;

public class Native implements SettingPage {
    private Context context;

    public Native(Context context2) {
        this.context = context2;
    }

    @Override // com.youyi.yypermissionlibrary.core.os.SettingPage
    public Intent createIntent() {
        Intent intent = new Intent("android.settings.APPLICATION_DETAILS_SETTINGS");
        intent.setData(Uri.fromParts(SettingPage.EXTRA_PKG, this.context.getPackageName(), null));
        return intent;
    }
}
